<?php
class Dashboard extends MX_Controller{
	function __construct(){
		parent::__construct();
		if(!$this->session->userdata('Loggein')){
			header('Location:' . $this->config->item('base_url') . '/admin');
		}
	}
	
	function index(){
		$this->layout->view('dashboard');
	}
}